﻿namespace TopHero
{
    public class Telegram
    {
        public int sender;
        public int receiver;

        public int msg;

        public float dispatchTime;

        public object extraInfo;

        public Telegram(int sender, int receiver, int msg, float dispatchTime, object extraInfo = null)
        {
            this.sender = sender;
            this.receiver = receiver;
            this.msg = msg;
            this.dispatchTime = dispatchTime;
            this.extraInfo = extraInfo;
        }
    }
}